package cn.example.easy_excel_demo.module.service.impl;

import cn.example.easy_excel_demo.module.dao.UserMapper;
import cn.example.easy_excel_demo.module.domain.User;
import cn.example.easy_excel_demo.module.domain.UserExample;
import cn.example.easy_excel_demo.module.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class UserServiceImpl implements UserService {

    @Autowired
    private UserMapper userMapper;
    @Override
    public List<User> queryAll(UserExample userExample) {
        return userMapper.selectByExample(userExample);
    }
}
